package com.ruoyi.education.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 指标信息对象 tb_indicator
 * 
 * @author yxy
 * @date 2024-10-19
 */

@Data
public class Indicator extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 指标id */
    private Long indicatorId;

    /** 学校 */
    @Excel(name = "学校")
    private String schoolID;

    /** 年级 */
    @Excel(name = "年级")
    private String gradeID;

    /** 指标 */
    @Excel(name = "指标")
    private String category;

    /** 水平 */
    @Excel(name = "水平")
    private Long level;

    /** 父id */
    @Excel(name = "父id")
    private String parentIndicatorId;

    /** 指标名称 */
    @Excel(name = "指标名称")
    private String description;

    /** 树编码 */
    @Excel(name = "树编码")
    private String treeCode;

    /** 权重 */
    @Excel(name = "权重")
    private Long weight;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;
}
